package com.verssor.service.commons;

import com.verssor.data.daos.ChoferDao;
import com.verssor.model.Chofer;

import javax.ejb.Stateful;
import javax.ejb.Stateless;
import javax.inject.Inject;

@Stateless
public class ChoferService extends BaseService<Chofer> {
    
    @Inject  ChoferDao choferDao;
    
    @Override
    public Chofer findById(Integer idEntity) {
        return choferDao.findById(idEntity);
    }

    @Override
   public Chofer create(Chofer entity) {
        return choferDao.create(entity);
    }
}
